#ifndef _SCENENODE_H_
#define _SCENENODE_H_

#include "Object.h"
#include "Utils/Vector3D.h"

#include <list>

using namespace std;

class SceneNode {
public:
	SceneNode();
	~SceneNode();
	void Update();
	void Render();
	void addObject(Object *obj);
	void deleteObject(Object *obj);
	
	Vector3D GetTranslation()	{ return trans; };
	Vector3D GetRotation()		{ return rot; };
	Vector3D GetScale()			{ return scale; };
	void Translate(Vector3D _trans);
	void Rotate(Vector3D _rot);
	void Scale(Vector3D _scale);
private:
	SceneNode *childNode;
	list<Object *> objects;
protected:
	Vector3D trans, rot, scale;
};

#endif // _SCENENODE_H_
